#include <windows.h>
#include <iostream>
/*
cpu Ϊ3GHZ
*/
int main()
{
	//50%
	//Thread 0 can only run on cpu 0
	SetThreadAffinityMask(GetCurrentProcess(), 0x00000001);
	while (true)
	{
		for (int i = 0; i < 12000000; i++)
		{
			;
		}
		Sleep(10);

	}
}